.Net Framework > v2.0.50727 > System > Data > SqlClient > SqlCommand SqlCommand
Category
Class
Description
Represents a Transact-SQL statement or stored procedure to execute against a SQL Server database. This class cannot be inherited.
Assembly
System.Data
Character
sealed, public
Attributes
NameValue/Assignment
DefaultEventAttributeRecordsAffected
DesignerAttributeMicrosoft.VSDesigner.Data.VS.SqlCommandDesigner, Microsoft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
ToolboxItemAttributeTrue
Ancestors
DbCommand > Component > MarshalByRefObject > Object
Implements
ICloneable
Contstructors
SqlCommand()
SqlCommand(String)
SqlCommand(String,SqlConnection)
SqlCommand(String,SqlConnection,SqlTransaction)
Properties
CommandText
CommandTimeout
CommandType
Connection
DbConnection
DbParameterCollection
DbTransaction
DesignTimeVisible
Notification
NotificationAutoEnlist
Parameters
Transaction
UpdatedRowSource
Events
StatementCompleted
Methods
BeginExecuteNonQuery()
BeginExecuteNonQuery(AsyncCallback,Object)
BeginExecuteReader()
BeginExecuteReader(AsyncCallback,Object)
BeginExecuteReader(AsyncCallback,Object,CommandBehavior)
BeginExecuteReader(CommandBehavior)
BeginExecuteXmlReader()
BeginExecuteXmlReader(AsyncCallback,Object)
Cancel()
Clone()
CreateDbParameter()
CreateParameter()
Dispose(Boolean)
EndExecuteNonQuery(IAsyncResult)
EndExecuteReader(IAsyncResult)
EndExecuteXmlReader(IAsyncResult)
ExecuteDbDataReader(CommandBehavior)
ExecuteNonQuery()
ExecuteReader()
ExecuteReader(CommandBehavior)
ExecuteScalar()
ExecuteXmlReader()
Prepare()
ResetCommandTimeout()
Clone()
Tags
0103E2B958, 02E3ABA98D, 0376596F91
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database